package br.cnpq.webflowah.beans;

import java.io.Serializable;

/**
 * Abstracts QoS and QoC parameters
 * 
 * @author fred
 * 
 */
public abstract class AbstractQualityParameter implements Serializable {

	private static final long serialVersionUID = 1L;

	// impact options
	public static final String BIGGER_IS_BETTER = "biggerIsBetter";
	public static final String SMALLER_IS_BETTER = "smallerIsBetter";
	public static final String NONE = "none"; // All parameters have the same weight

	// nature options
	public static String STATIC = "static";
	public static String DYNAMIC = "dynamic";

	private String name;

	private String serviceURI;

	private String lastMeasurement;

	private String value;

	private String impact;

	private String nature;

	public String getImpact() {
		return impact;
	}

	public void setImpact(String impact) {
		this.impact = impact;
	}

	public String getLastMeasurement() {
		return lastMeasurement;
	}

	public void setLastMeasurement(String lastMeasurement) {
		this.lastMeasurement = lastMeasurement;
	}

	public String getNature() {
		return nature;
	}

	public void setNature(String nature) {
		this.nature = nature;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getServiceURI() {
		return serviceURI;
	}

	public void setServiceURI(String serviceURI) {
		this.serviceURI = serviceURI;
	}

}
